package org.example.leetcode.core.service;

import org.example.leetcode.common.pojo.PageResult;
import org.example.leetcode.core.domain.TQuestionType;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.leetcode.core.dto.QuestionTypeQueryCond;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhc
 * @since 2024-02-25
 */
public interface TQuestionTypeService extends IService<TQuestionType> {

    List<TQuestionType> all();

    void add(TQuestionType tQuestionType);

    void delete(String titleSlug);

    PageResult<TQuestionType> page(QuestionTypeQueryCond questionTypeQueryCond);
}
